package com.zjj.learn.designmodel.pattern.command;

import java.util.HashMap;
import java.util.Map;

/**
 * *** @author zjj_admin
 * *** 2022/4/17 22:07
 */
public class Order {

    //餐桌号码
    private  int diningTable;

    //顾客点的菜品和数量

    private Map<String,Integer> foodDic = new HashMap<>();

    public int getDiningTable() {
        return diningTable;
    }

    public void setDiningTable(int diningTable) {
        this.diningTable = diningTable;
    }

    public Map<String, Integer> getFoodDic() {
        return foodDic;
    }

    public void setFoodDic(String name ,int num) {
        this.foodDic.put(name,num);
    }
}
